package com.fireXXX.job.analysis.dynproxy;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

@SpringBootApplication(scanBasePackages = "com.fireXXX.job.analysis")
@EntityScan(basePackageClasses = {Starter.class, Jsr310JpaConverters.class}, basePackages = {"com.fireXXX.job.analysis"})
@EnableJpaAuditing
public class Starter {

    public static void main(String[] args) {
        SpringApplicationBuilder builder = new SpringApplicationBuilder(Starter.class);
        builder.headless(false).run(args);
    }
}
